package com.wanxin.wb.common.support.util;

import java.util.UUID;

public class GuidUtil {

	public static String newGuid() {
		return UUID.randomUUID().toString().replace("-", "");
	}

	public static String newGuid(String objectGuid) {
		if (StringUtils.isEmpty(objectGuid))
			return newGuid();
		else
			return objectGuid.trim();
	}

}
